View Javadoc
1 package jrre.api.java.lang.reflect; 2 3 public class Fields { 4 5 private FieldEntry [] fieldEntries; 6 private int size; 7 8 public Fields(){ 9 10 } 11 12 public Fields(FieldEntry [] fieldEntries){ 13 this.fieldEntries = fieldEntries; 14 size = fieldEntries.length; 15 } 16 17 public FieldEntry getField(String fullyQualifiedName){ 18 for(int i=0;i < fieldEntries.length;i++){ 19 if(fieldEntries[i].getName().equals(fullyQualifiedName)) 20 return fieldEntries[i]; 21 } 22 return null; 23 } 24 25 public int getSize(){ 26 return size; 27 } 28 29 public String toString(){ 30 return "Fields\n"; 31 } 32 33 }

This page was automatically generated by Maven